package com.heima.search.Service;

import com.heima.common.dtos.ResponseResult;
import com.heima.model.search.dtos.HistorySearchDto;
import com.heima.model.search.pojos.ApUserSearch;

import java.util.List;

public interface ApUserSearchService {
    /**
     * 保存用户搜索历史
     */
    public void insert(Integer userId,String keyword);

    ResponseResult<List<ApUserSearch>> load();

    ResponseResult del(HistorySearchDto dto);
}
